package com.bitdf.txing.group.feign;

import com.bitdf.txing.chat.config.FeignInterceptor;
import com.bitdf.txing.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @author Lizhiwei
 * @date 2022/11/14 11:38:11
 * 注释：
 */
@FeignClient(
        name = "tx-users",                 // 服务名称
        configuration = FeignInterceptor.class       // 请求拦截器 （关键代码）
)
public interface UserFeignService {
    @PostMapping("/txing/user/list/ids")
    public R getByUserList(List<Long> list);
}
